package com.xian.manage.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xian.common.annotation.Excel;
import com.xian.common.core.domain.BaseEntity;

/**
 * 诗词管理对象 tb_poem
 * 
 * @author Hanys
 * @date 2025-04-07
 */
public class Poem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 诗词标题 */
    @Excel(name = "诗词标题")
    private String title;

    /** 诗词作者 */
    @Excel(name = "诗词作者")
    private String author;

    /** 诗词内容 */
    @Excel(name = "诗词内容")
    private String content;

    /** 作者所属朝代 */
    @Excel(name = "作者所属朝代")
    private String dynasty;

    /** 字数 */
    @Excel(name = "字数")
    private String wordCount;

    /** 标题类型 */
    @Excel(name = "标题类型")
    private String titleType;

    /** 诗词类型管理信息 */
    private List<PoemType> poemTypeList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setDynasty(String dynasty) 
    {
        this.dynasty = dynasty;
    }

    public String getDynasty() 
    {
        return dynasty;
    }

    public void setWordCount(String wordCount) 
    {
        this.wordCount = wordCount;
    }

    public String getWordCount() 
    {
        return wordCount;
    }

    public void setTitleType(String titleType) 
    {
        this.titleType = titleType;
    }

    public String getTitleType() 
    {
        return titleType;
    }

    public List<PoemType> getPoemTypeList()
    {
        return poemTypeList;
    }

    public void setPoemTypeList(List<PoemType> poemTypeList)
    {
        this.poemTypeList = poemTypeList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("author", getAuthor())
            .append("content", getContent())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("dynasty", getDynasty())
            .append("wordCount", getWordCount())
            .append("titleType", getTitleType())
            .append("poemTypeList", getPoemTypeList())
            .toString();
    }
}
